package com.tangyuan.video.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.tangyuan.model.VideoComment;
import com.tangyuan.model.VideoCommentTrump;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface VideoCommentTrumpMapper extends BaseMapper<VideoCommentTrump>  {
    List<VideoCommentTrump> selectByCommentIds(List<Long> oneCommentIds);

    VideoCommentTrump selectByCommentIdAndUserId(Long userId, Long commentId);

    VideoCommentTrump selectByDisCommentId(Long commentId, Long userId);
}
